FROM mysql:8.0.16

MAINTAINER cui_com(cui_com@163.com)

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

COPY ./db/1schema.sql /docker-entrypoint-initdb.d

COPY ./db/2subway.sql /docker-entrypoint-initdb.d

COPY ./db/3subway_ac.sql /docker-entrypoint-initdb.d

COPY ./db/4subway_job.sql /docker-entrypoint-initdb.d

COPY ./db/5subway_mp.sql /docker-entrypoint-initdb.d

COPY ./db/6subway_config.sql /docker-entrypoint-initdb.d

COPY ./db/7subway_pay.sql /docker-entrypoint-initdb.d

COPY ./db/8subway_codegen.sql /docker-entrypoint-initdb.d